package cn.maiyar.generator.constant;

import com.baomidou.mybatisplus.core.toolkit.StringPool;

/**
 * 常量
 *
 * @author c.c
 */
public class GeneratorConstant {
    // 默认的存储文件夹 (未指定输出路径)
    public static final String DEFAULT_DIR = System.getProperty("user.dir") + StringPool.SLASH + "code" + StringPool.SLASH;
    // 注释日期格式
    public static final String COMMENT_DATE = "yyyy-MM-dd";
    // Entity 父类
    public static final String DEFAULT_ENTITY_SUPER_CLASS = "cn.maiyar.common.entity.BaseEntity";
    // Controller 父类
    public static final String DEFAULT_CONTROLLER_SUPER_CLASS = "cn.maiyar.web.BaseController";
    // Service 父类
    public static final String DEFAULT_SERVICE_SUPER_CLASS = "cn.maiyar.mybatis.service.BaseService";
    // ServiceImpl 父类
    public static final String DEFAULT_SERVICE_IMPL_SUPER_CLASS = "cn.maiyar.mybatis.service.impl.BaseServiceImpl";
    // MyBatis Service 父类
    public static final String MYBATIS_SERVICE_SUPER_CLASS = "com.baomidou.mybatisplus.extension.service.IService";
    // MyBatis ServiceImpl 父类
    public static final String MYBATIS_SERVICE_IMPL_SUPER_CLASS = "com.baomidou.mybatisplus.extension.service.impl.ServiceImpl";
    // JS文件
    public static final String DOT_JS = ".js";
    // VUE文件
    public static final String DOT_VUE = ".vue";
}
